package com.javasm.dao;

import com.javasm.entity.SkillGame;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 技能所属游戏(CustomerSkillGame)表数据库访问层
 *
 */
public interface SkillGameDao {

    List<SkillGame> listAllGame(@Param("inputGame") SkillGame inputGame, @Param("startIndex")Integer startIndex, @Param("pageSize")Integer pageSize);

    Integer countGames(@Param("inputGame") SkillGame inputGame);

    Integer addGame(SkillGame inputGame);


    SkillGame getGameById(Integer gamdId);


    Integer editGame(SkillGame inputGame);


    Integer deleteGameById(Integer gamdId);

}

